from datetime import datetime

from sqlalchemy import Column, Integer, String, CHAR, DateTime, Float, desc, text, DECIMAL
from app.models.base import db, Base
import time


class aigc_sentence(Base):
    id = Column(Integer, primary_key=True, autoincrement=True)
    order_number = Column(String(30), nullable=False)
    sentence_index = Column(Integer, default=0, nullable=False)
    content = Column(String(500), nullable=False)
    paragraph_index = Column(Integer, nullable=False)
    is_aigc = Column(Integer, nullable=False, default=0)
    rate = Column(DECIMAL(5, 2), default=0)
